import { createApp } from "vue";
import App from "./App.vue";
import { setupRouter } from "./router";
import { setupStore } from "./store";
import { setupAssets } from './style';
import { globalInstall } from "./components";

async function setupApp() {
  setupAssets();
  const app = createApp(App);
  setupStore(app);
  await setupRouter(app);
  globalInstall(app);
  app.mount("#app");
}
setupApp();
